package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.system.domain.RobotWechatUser;


public interface IRobotWechatUserService extends IService<RobotWechatUser> {

    /**
     * 微信用户登录
     *
     * @param code
     * @return
     */
    public RobotWechatUser wechatLogin(String code);


    /**
     * 获取口令
     *
     * @param openid
     * @return
     */
    public RobotWechatUser getUserPasswordCommand(String openid);


    /**
     * 判断是否绑定
     * @param openid
     * @return
     */
    public Boolean checkUserBinding(String openid);



}
